package org.yelongframework.model.support.service.base;

import javax.annotation.Resource;

import org.springframework.transaction.annotation.Transactional;
import org.yelongframework.model.service.SqlModelService;
import org.yelongframework.sql.store.SqlStore;

/**
 * 基础模型服务Spring实现
 * 
 * @since 1.0.0
 */
@Transactional
public abstract class BaseModelServiceSpringImpl extends BaseModelService {

	/** 模型服务 */
	@Resource
	protected SqlModelService modelService;

	/** SQL存储 */
	@Resource
	protected SqlStore sqlStore;

	// ==================================================support==================================================

	@Override
	public SqlModelService getModelService() {
		return modelService;
	}

	@Override
	public SqlStore getSqlStore() {
		return sqlStore;
	}

}
